package com.java2207.group1.mapper;


import com.java2207.group1.pojo.Equipments;
import com.java2207.group1.vo.equipment.BarVo;

import com.java2207.group1.vo.equipments.PieVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface EquipmentsMapper {

    List<Equipments> equipmentList(Map<String, Object> params);

    int updateEquipment(Equipments equipments);

    int addEquipment(Equipments equipments);

    int deleteEquipment(@Param("id") int id);

    List<BarVo> selectEchart();

    List<PieVo> selectPie();

    List<Equipments> selectExcel(Equipments equipments);
}
